package steed.sample.springboot;

import java.io.IOException;
import java.util.jar.JarFile;
import java.util.zip.ZipEntry;

import org.junit.Test;

import steed.util.base.BaseUtil;

public class ReadJarFile {
	
	@Test
	public void readJarFile(){
		 JarFile jarFile;
		try {
			jarFile = new JarFile("D:\\git\\ifs\\target\\steedFramework-0.0.1-SNAPSHOT.jar");
			ZipEntry entry = jarFile.getEntry("BOOT-INF/classes/struts.xml");
			BaseUtil.out(entry.getTime());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
